package com.collaboration.proton.dao;

import com.collaboration.proton.entities.Hero;
import com.collaboration.proton.entities.Player;
import com.collaboration.proton.entities.UserHero;
import org.springframework.data.repository.CrudRepository;

import java.util.List;
/**
 * @author thousandcat
 * @param
 * @return 无
 *
 */
public interface HeroRepository extends CrudRepository<Hero,Long> {
    @Override
    List<Hero> findAll();

    List<Hero> findAllByUserHero(UserHero userHero);
}
